package com.internship.service;



import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.internship.dao.SchoolDao;
import com.internship.model.School;

@Service
public class SchoolService {
	@Autowired
	private SchoolDao schoolDao;

	public School getSchool() {
		return schoolDao.getSchool();
	}
	public int updateSchool(School school) {
		return schoolDao.updateSchool(school);
	}

}
